<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>找回密码</title>
  <link rel="stylesheet" href="./lib/bootstrap.min.css">
  <link rel="stylesheet" href="./css/findpwd.css">
</head>

<body>

  <div style="height: 80vh;" class="d-flex justify-content-center align-items-center">
    <div class="card">
      <div class="list-group">
        <div class="list-group-item list-group-flush text-bg-primary">
          通过邮箱找回密码
        </div>

        <div class="list-group-item list-group-flush">

          <div class="mb-3">
            <input type="text" id="txt_username" class="form-control" placeholder="用户名">
          </div>

          <div class="mb-3 d-flex">
            <div>
              <input type="text" id="txt_code" class="form-control" placeholder="验证码">
            </div>
            <button id="btnSend" class="btn btn-primary">获取验证码</button>
          </div>

          <div class="mb-3">
            <input type="password" id="txt_password" class="form-control" placeholder="新密码">
          </div>

        </div>

        <div class="list-group-item list-group-flush text-end">
          <a class="btn btn-link" href="index.html">返回登录</a>
          <button id="btnOk" class="btn btn-primary">确定</button>
        </div>

      </div>
    </div>
  </div>


  <!-- 信息弹出层 -->
  <div class="toast-container position-fixed bottom-0 end-0 p-3">

    <div id="divToast" class="toast" role="alert" aria-live="assertive" aria-atomic="true">

      <div class="toast-header">
        <strong class="me-auto">服务器消息</strong>
        <button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
      </div>

      <div class="toast-body">
        Hello, world! This is a toast message.
      </div>

    </div>

  </div>

  <!-- js导入的部分 -->
  <script src="./lib/bootstrap.bundle.min.js"></script>
  <script type="module" src="./js/findpwd.js"></script>

</body>

</html>